(should (equal
(sort (which-key--get-keymap-bindings map)
(lambda (a b) (string-lessp (car a) (car b))))
- '(("b" . "ignore")
- ("c" . "c")
- ("d" . "Prefix Command")
- ("e" . "Prefix Command")
+ '(("c" . "c")
+ ("d" . "prefix")
+ ("e" . "prefix")
("f" . "{ - C-f"))))
(should (equal
- (sort (which-key--get-keymap-bindings map t)
+ (sort (which-key--get-keymap-bindings map nil nil nil t)
(lambda (a b) (string-lessp (car a) (car b))))
- '(("b" . "ignore")
- ("c" . "c")
+ '(("c" . "c")
("d d" . "dd")
("e e e" . "eee")
("f" . "{ - C-f"))))))